package devkit.commando {
	
	/**
	 * Interface to be implemented by all custom built command classes.
	 * @author Francois Dempers 
	 */
	public interface ICustomCommand extends ICommand {
		
		/**
		 * Validates all of the command arguments.
		 * @return <code>null</code> if the command was executed, otherwise an error code or message.
		 */
		function validate():String;
		
		/**
		 * Executes the command.
		 * @return <code>null</code> if the command was executed, otherwise an error code or message.
		 */
		function execute():String;
	}
}